package com.fa4j.common.data.model;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


/**
 * 聚合查询时用
 */
@Data
public class Aggr extends Base {

    @Schema(description = "合计数量,分组查询时使用")
    @TableField(value = "count(*)", insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private Integer count;
}
